package com.azt.api.pojo;

import javax.persistence.Column;
import javax.persistence.Table;
import javax.persistence.Transient;

import com.azt.pojo.BaseEntity;

@Table(name = "u_integral_record")
public class IntegralRecord extends BaseEntity {
	public static final Integer OVERDUE = 1;//未过期
	
	@Column(name="userId")
    private Integer userId;
	
	@Column(name="ruleTitle")
    private String ruleTitle;
	
	@Column(name="ruleDescr")
    private String ruleDescr;
	
	@Column(name="score")
    private Double score;
	
	@Column(name="operateType")
    private Integer operateType;
	
	@Column(name="ruleCode")
	private String ruleCode;
	
	@Column(name="operateid")
	private Integer operateid;
	
	@Column(name="overdue")
	private Integer overdue;
	

	public String getRuleCode() {
		return ruleCode;
	}

	public void setRuleCode(String ruleCode) {
		this.ruleCode = ruleCode;
	}

	public Integer getOperateid() {
		return operateid;
	}

	public void setOperateid(Integer operateid) {
		this.operateid = operateid;
	}

	public Integer getOverdue() {
		return overdue;
	}

	public void setOverdue(Integer overdue) {
		this.overdue = overdue;
	}

	@Transient
	private String realName;//用户姓名
	
	@Transient
	private String adminName;//管理员账号
	
	@Transient
	private String mobile;
	
	@Transient
	private String email;
	
    public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getAdminName() {
		return adminName;
	}

	public void setAdminName(String adminName) {
		this.adminName = adminName;
	}

	public String getMobile() {
		return mobile;
	}

	public void setMobile(String mobile) {
		this.mobile = mobile;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

	public String getRuleTitle() {
        return ruleTitle;
    }

    public void setRuleTitle(String ruleTitle) {
        this.ruleTitle = ruleTitle == null ? null : ruleTitle.trim();
    }

    public String getRuleDescr() {
        return ruleDescr;
    }

    public void setRuleDescr(String ruleDescr) {
        this.ruleDescr = ruleDescr == null ? null : ruleDescr.trim();
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public Integer getOperateType() {
        return operateType;
    }

    public void setOperateType(Integer operateType) {
        this.operateType = operateType;
    }

}